package operator;

/**
 * @Author Miku
 * @Create 2021/2/3 15:12
 */
public class Demo07 {
    public static void main(String[] args) {
        int a = 10;
        int b = 20;
        int c = 10;
        int d = 20;

        //a+=b : 30
        System.out.println(a += b);
        //c-=d : -10
        System.out.println(c -= d);

        //字符串连接符    +   ，String
        System.out.println("" + a + b);
        System.out.println(a + b + "");
    }
}
